package com.lg.atp.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.lg.atp.entity.TblRoleInfo;

public interface IRoleService {

	TblRoleInfo findRoleById(Long id);
	
	List<TblRoleInfo> findUserRole(Long userId);
	
	void insertRole(TblRoleInfo role);
	
	void updateRole(TblRoleInfo role);
	
	List<TblRoleInfo> getRoleByMenuId(Long menuId);
	
	PageInfo<TblRoleInfo> getAllRole(Integer pageIndex,Integer pageSize);
	
	void deleteRoles(List<Long> roleIds);
}
